package com.qztech.sdk.model.entities;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.annotation.NonNull;

/**
 * @author:zhanghb
 * @date:2019/1/25
 * @email:2573475062@qq.com
 **/
@Entity(tableName = "eq_setting")
public class EqSetting implements Cloneable{
    @PrimaryKey(autoGenerate = true)
    private long id;
    @ColumnInfo(name = "p_id")
    private String profileId;

    @ColumnInfo(name = "setting_id")
    @NonNull
    private String settingId;
    @ColumnInfo(name = "eq_defeat")
    private int eqDefeat;// eq defeat 是否开启
    @ColumnInfo(name = "effect")
    private int effect; // eq effect
    @ColumnInfo(name = "ch1")
    private int ch1;
    @ColumnInfo(name = "ch2")
    private int ch2;
    @ColumnInfo(name = "ch3")
    private int ch3;
    @ColumnInfo(name = "ch4")
    private int ch4;
    @ColumnInfo(name = "ch5")
    private int ch5;
    @ColumnInfo(name = "ch6")
    private int ch6;

    public EqSetting() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getEqDefeat() {
        return eqDefeat;
    }

    public void setEqDefeat(int eqDefeat) {
        this.eqDefeat = eqDefeat;
    }

    public int getEffect() {
        return effect;
    }

    public void setEffect(int effect) {
        this.effect = effect;
    }

    public int getCh1() {
        return ch1;
    }

    public void setCh1(int ch1) {
        this.ch1 = ch1;
    }

    public int getCh2() {
        return ch2;
    }

    public void setCh2(int ch2) {
        this.ch2 = ch2;
    }

    public int getCh3() {
        return ch3;
    }

    public void setCh3(int ch3) {
        this.ch3 = ch3;
    }

    public int getCh4() {
        return ch4;
    }

    public void setCh4(int ch4) {
        this.ch4 = ch4;
    }

    public int getCh5() {
        return ch5;
    }

    public void setCh5(int ch5) {
        this.ch5 = ch5;
    }

    public int getCh6() {
        return ch6;
    }

    public void setCh6(int ch6) {
        this.ch6 = ch6;
    }

    public String getProfileId() {
        return profileId;
    }

    public void setProfileId(String profileId) {
        this.profileId = profileId;
    }

    @NonNull
    public String getSettingId() {
        return settingId;
    }

    public void setSettingId(@NonNull String settingId) {
        this.settingId = settingId;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
